const request = require("./http.js");
//小程序我的优惠券列表
var getcouponList = function (data, callback) {
  request({
    url: "/mall/coupon/getMyCouponList",
    method: "post",
    data: data,
    success: function (res) {
      callback(res);
    },
    fail: function (err) {
      console.log(err);
      wx.showToast({
        title: err.errMsg,
        icon: "none",
        duration: 2000,
      });
    },
  });
};

module.exports = {
  getcouponList:getcouponList,//小程序我的优惠券列表
  
  
}